package service;


import java.util.List;

import dao.UserDao;
import model.UserBean;
public class UserService {

	public UserBean login(String userName,String pw) {
		UserDao userDao = new UserDao();
		return userDao.login(userName, pw);
	}
	
	public List<UserBean> query_all_user() {
		UserDao userDao = new UserDao();
		  return userDao.query_all_user();
	}
}
